package DAL.DAO;

import DAL.DTO.AdresseDTO;
import DAL.DTO.ClientDTO;
import DAL.DTO.InterventionDTO;
import ERRORS.InterventionExistantException;
import ERRORS.InterventionInexistantException;
import java.util.Vector;

public abstract class InterventionDAO {

	public abstract InterventionDTO rechercher(long idIntervention) 
                throws InterventionInexistantException;
	public abstract Vector <InterventionDTO> rechercher(ClientDTO client) 
                throws InterventionInexistantException;
	public abstract Vector<InterventionDTO> rechercher(AdresseDTO adresse) 
                throws InterventionInexistantException;
	public abstract long enregistrer(InterventionDTO intervention) 
                throws InterventionExistantException;
	public abstract InterventionDTO modifier(InterventionDTO intervention)
                throws InterventionInexistantException;
	public abstract void supprimer(InterventionDTO intervention)
                throws InterventionInexistantException;
	public abstract Vector<InterventionDTO> liste();
}